<template>
  <a-row class="container">
    github 授权成功
  </a-row>

</template>
<script lang="ts" setup>
document.title = 'github 登录授权';
import {useRoute} from "vue-router";

const route = useRoute();
const currentCode = route.query.code;
window.opener.postMessage({accessCode: currentCode});
</script>
<style scoped>
.container {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>